package org.goyo.main.services.base;

import org.goyo.common.exception.DBException;
import org.goyo.common.exception.ServiceException;
import org.goyo.common.utils.Pager;
import org.goyo.main.domain.entity.BaseObject;
import org.goyo.main.domain.entity.base.Supplier;

public interface ISupplierService {
  public BaseObject saveOrUpdateInfo(Supplier supplier) throws DBException,ServiceException;

  public void delByUuids(Object[] uuids) throws DBException,ServiceException;

  public Supplier findByUuid(String uuid) throws DBException,ServiceException;

  public Pager<Supplier> findByCondition(String where,Pager pager) throws DBException,ServiceException;

  public boolean checkNumberUsed(String uuid,String number)throws DBException,ServiceException;
}
